package com.bracketbird.client.model;


import com.bracketbird.client.model.keys.MemberId;

import java.io.Serializable;
import java.util.*;

/**
 *
 */
public class PlayingTeamVO implements Serializable {
    private static final long serialVersionUID = 3801934072511161352L;

    private List<MemberId> members = new ArrayList<MemberId>();
    private List<String> nonMembers = new ArrayList<String>();

    private String teamName;
    private String info;
    private Integer seeding;
    
    public PlayingTeamVO() {
        super();
    }

    public PlayingTeamVO(PlayingTeam pt) {
        super();
        this.teamName = pt.getTeamName();
        this.seeding = pt.getSeeding();
        this.members = new ArrayList<MemberId>(pt.getMembers());
        this.nonMembers = new ArrayList<String>(pt.getNonMembers());

        this.info = pt.getInfo();
    }


    public List<MemberId> getMembers() {
        return members;
    }

    public void setMembers(List<MemberId> members) {
        this.members = members;
    }

    public Integer getSeeding() {
        return seeding;
    }

    public void setSeeding(Integer seeding) {
        this.seeding = seeding;
    }

    public String getTeamName() {
        return teamName;
    }

    public void setTeamName(String teamName) {
        this.teamName = teamName;
    }

    public List<String> getNonMembers() {
        return nonMembers;
    }

    public void setNonMembers(List<String> nonMembers) {
        this.nonMembers = nonMembers;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }


    @Override
    public String toString() {
        return "PlayingTeamVO{" +
                "members=" + members +
                ", nonMembers=" + nonMembers +
                ", teamName='" + teamName + '\'' +
                ", info='" + info + '\'' +
                ", seeding=" + seeding +
                '}';
    }
}
